﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace QuanLyThuNgan
{
     public class BaFeeMstCTL
    {
         BaFeeMstDAO data = new BaFeeMstDAO();
         public object m_SoBN(string madonvi, int loai)
         {
             return data.m_SoBN(madonvi, loai);
         }
         public string m_Insert_(int stt, string sobn, string ngay, string sohs, decimal sotien, string madv, string GhiChuUni, int idbacsi, string madvpk, string ChanDoanUni, int IDCaThuNgan, int IDLoaiPhieu, decimal TongSoTien, string ghichu, string chandoan, int bhyt, decimal BHYTThanhToan, int IDNguoiNhap)
         {
             return data.m_Insert_(stt,sobn,ngay,sohs,sotien,madv,GhiChuUni,idbacsi,madvpk,ChanDoanUni,IDCaThuNgan,IDLoaiPhieu,TongSoTien,ghichu,chandoan,bhyt,BHYTThanhToan,IDNguoiNhap);
         }
         public string m_Update_(int stt, string sobn, string ngay, string sohs, decimal sotien, string madv, string GhiChuUni, int idbacsi, string madvpk, string ChanDoanUni, int IDCaThuNgan, int IDLoaiPhieu, decimal TongSoTien, string ghichu, string chandoan, int bhyt, decimal BHYTThanhToan, int IDNguoiNhap)
         {
             return data.m_Update_(stt, sobn, ngay, sohs, sotien, madv, GhiChuUni, idbacsi, madvpk, ChanDoanUni, IDCaThuNgan, IDLoaiPhieu, TongSoTien, ghichu, chandoan, bhyt, BHYTThanhToan, IDNguoiNhap);
         }
         public string m_Delete_(string sobn)
         {
             return data.m_Delete_(sobn);
         }
        
         public DataTable m_STT_SoBN_IDThuNgan(int idnguoinhap, string ngay, string madv_rachidinh)//madv don vi thu tien,  Madonvi: ma don vi ra chi dinh cam lam sang 
         {
             return data.m_STT_SoBN_IDThuNgan(idnguoinhap, ngay, madv_rachidinh);
         }
         public DataSet m_LoadDSPhieuNhapTrucTiep(string mangsbn)
         {
             return data.m_LoadDSPhieuNhapTrucTiep(mangsbn);
         }
         public object m_SoBN_KO_CLS(int loaiphieu)
         {
             return data.m_SoBN_KO_CLS(loaiphieu);
         }
         //update dua vao chuoi sobn
         public string m_Update_mst(string chuoi)
         {
             return data.m_Update_mst(chuoi);
         }
         // delete thuoc group cua master cap 1 
         public string m_Delete_group(string loai, string sobn)
         {
             return data.m_Delete_group(loai, sobn);
         }

    }
}
